var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var UserSchema = new Schema({
	openid:{type:String, default:''},
	nickname:{type:String,default:''},
	sex:{type:Number,default:''},
	province:{type:String,default:''},
	city:{type:String,default:''},
	country:{type:String,default:''},
	headimgurl:{type:String, default:''},
	uid:{type:String,default:''},
	subscribe:{type:Number,default:''},
	subscribe_time:{type:String,default:''},
	remark:{type:String,default:''},
	gid:{type:String,default:''},
	language:{type:String,default:''}
});
module.exports = mongoose.model('User',UserSchema);